/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author menderleit
 */
public class PizzaSize {
    private int size;
    private int pris;
    
    public PizzaSize(int size, int pris) {
        this.size = size;
        this.pris = pris;
    }
    
    public int getSize() {
        return size;
    }
    
    public int getPris() {
        return pris;
    }
    
    @Override
    public String toString() {
        String s;
        switch(size) {
            case 1:
                s = "Lille";
                break;
            case 2:
                s = "Mellem";
                break;
            case 3:
                s = "Stor";
                break;
            default:
                s = "ukendt";
                break;
        }
        return s;
    }
}
